<?php
('Access-Control-Allow-Origin：*');
// include("../xsdb.class.php");
include("../config/mysql.php");
$db = new mysql();
$companyName = $_POST["companyName"];
$contacts = $_POST["contacts"];
$contactsIphone = $_POST["contactsIphone"];
$shenfenType = $_POST["shenfenType"];
$remarks = $_POST["remarks"];
$company_id = $_POST["company_id"];
$sql = "INSERT INTO resource (companyName,contacts,contactsIphone,shenfenType,remarks,company_id) VALUES ('{$companyName}','{$contacts}','{$contactsIphone}','{$shenfenType}','{$remarks}',{$company_id})";
echo $db->Query($sql);
$db->close();
